<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="org.jwos.plugin.file.web.*" %>
<%@ page import="org.jwos.platform.ajax.*" %>
<%@ page import="org.jwos.platform.domain.*" %>
<%@ page import="org.jwos.plugin.file.domain.*" %>
<%@ page import="org.jwos.plugin.file.service.*" %>
<%
String folder = request.getParameter("folder");
String sessionId = request.getParameter("sessionId");
FileManager service = (FileManager)ServiceFactory.getService(request.getSession().getServletContext(),"fileManager");
FolderViewInfo view = service.getFolderViewById(sessionId,folder);
out.println(JSONCoder.encode(view));
%>